#frame {
  background-image: url(:/mainWnd/img/mainImg.PNG);
}
#mainStackedWidget{
  background-image: url(:/mainWnd/img/emptyFrame.PNG)
}

QFrame QToolButton {
  border: none;
  background-color: green;
}

QScrollBar:vertical {
  border: 1px solid grey;
  background: green;
  width: 9px;
  margin: 9px 0px 9px 0px;
}
QScrollBar::handle:vertical {
  border: 1px solid grey;
  background: #8b1618;
  min-height: 8px;
  height : 16px;
}

QScrollBar::sub-line:vertical {
  border: none;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background: white;
  height: 9px;
  subcontrol-position: top;
  subcontrol-origin: margin;
}

QScrollBar::add-line:vertical {
   border: none;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  background: white;
  height: 9px;
  subcontrol-position: bottom;
   subcontrol-origin: margin;
}	

QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #ff0000, stop:1 #8b1618);
}

QScrollBar::up-arrow {  
  border: none;
  image: url(:/style/img/picScrollUp.png); 
}

QScrollBar::down-arrow { 
  border: none;
  image: url(:/style/img/picScrollDn.png); 
}


QScrollBar:horizontal {
	border: 1px solid grey;
	background: green;
	height: 9px;
	margin: 0px 9px 0 9px;
}
QScrollBar::handle:horizontal {
  border: 1px solid grey;
  background: #8b1618;
  min-width: 8px;
  width : 16px;
}
QScrollBar::sub-line:horizontal {
  border: 1px solid grey;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  background: white;
  subcontrol-position: left;
  subcontrol-origin: margin;
  width: 9px;
} 
QScrollBar::add-line:horizontal {
  border: 1px solid grey;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background: white;
  subcontrol-position: right;
  subcontrol-origin: margin;
  width: 9px;
}

QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ff0000, stop:1 #8b1618);
}

QScrollBar::left-arrow {
  border: none;
  image: url(:/style/img/picScrollLeft.png);
}
QScrollBar::right-arrow {
  border: none;
  image: url(:/style/img/picScrollRight.png);
}


QTableView {
	border: 3px transparent;
	border-image: url(:/mainWnd/img/SMSViewBorder.png);

	background-color: white;
	alternate-background-color: #adafaf;
	color: grey;

	selection-color: #ff0000;
	selection-background-color: #adafaf;
	
	padding: 0px 1px 0px 0px;
	margin: 0px;	
}

QHeaderView::section {
  border: 1px solid #8b1618;
	font-size: 8pt;	

	color:			black;
	background-color: white;

	padding: 0px 1px 0px 0px;
	margin: 0px;	
}

QHeaderView::section:hover {
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #ff0000, stop:1 #8b1618);
	color: white;
}

QHeaderView::section:pressed {
	border: 2px inset #8b1618;
}

QHeaderView::down-arrow { border-image: url(:/mainWnd/img/picHeaderSortDn.png); }
QHeaderView::up-arrow { border-image: url(:/mainWnd/img/picHeaderSortUp.png); }

QTableView QTableCornerButton::section {
	background: red;
	border: 2px outset red;
}


QTreeView{
	background-color: white;
	border: 3px transparent;
	border-image: url(:/mainWnd/img/SMSViewBorder.png) 3 3 3 3;

	show-decoration-selected: 0;
}
QTreeView::item {
	border: none;
	selection-background-color: magenta;
}
QTreeView::item:hover {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ff0000, stop:1 #8b1618);
	color: white;
}
QTreeView::item:selected {
	color: white;
}
QTreeView::item:selected:active{
	background: #8b1618;
}
QTreeView::item:selected:!active {
  background: #adafaf;
}
QTreeView::branch:has-siblings:!adjoins-item {
	border-image: none;
	image: none;
}
QTreeView::branch:has-siblings:adjoins-item {
	border-image: none;
	image: none;
}

QTreeView::branch:!has-children:!has-siblings:adjoins-item {
	border-image: none;
	image: none;
}


QListView{
	background-color: white;
	border: 3px transparent;
	border-image: url(:/mainWnd/img/SMSViewBorder.png) 3 3 3 3;

	alternate-background-color: yellow;
}

QListView::item:hover {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ff0000, stop:1 #8b1618);
	color: white;
}
QListView::item:alternate {
	background: #adafaf;
}
QListView::item:selected {
	/* border: 1px solid #ff0000; */
	color: white;
}
QListView::item:selected:active {
     background: #8b1618;
}
QListView::item:selected:!active {
     background: #adafaf;
}




QLineEdit {
	border: 1px solid #8b1618;
	border-radius: 8px;
	padding 0px 8px;
	selection-background-color: #ff0000;
}


QComboBox {
  border: 1px solid #adafaf;
  border-radius: 3px;
  padding: 1px 18px 1px 3px;
  min-width: 6em;
}
QComboBox:editable {
	background: white;
}
QComboBox:on {
  padding-top: 3px;
  padding-left: 4px;	
}
QComboBox:!editable, QComboBox::drop-down:editable {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 white stop:1 #adafaf);
}
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #adafaf stop:1 white);
}
QComboBox::drop-down {
  subcontrol-origin: padding;
  subcontrol-position: top right;
  width: 15px;

  border-left-width: 1px;
  border-left-color: darkgray;
  border-left-style: solid; 
  border-top-right-radius: 3px; 
  border-bottom-right-radius: 3px;
}
QComboBox::down-arrow {
	image: url(:/style/img/picScrollDn.png);
}
QComboBox::down-arrow:on {
  top: 1px;
  left: 1px;
}
QComboBox QAbstractItemView {
	border: 2px solid darkgray;
	selection-background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #ff0000 stop:1 #8b1618);
}


QSlider { border-bottom: 1px dashed black; }
QSlider::groove:horizontal {
	border: 0px solid #adafaf; 
  height: 12px; 
  background: none; 
  margin: -2px 0;  
}
QSlider::handle:horizontal {
	background: #8b1618; 
  border: 1px solid #adafaf;
  width: 10px;
  margin: -4px 0; 
	border-radius: 6px;
	image: url(:/style/img/picScrollDn.png);
}
QSlider::sub-page:horizontal {
	border:none;
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #ff0000, stop:1 #8b1618);
}
QSlider::add-page:horizontal {
	background: white;
}
/*
QCheckBox{
	spacing: 5px;
}
QCheckBox::indicator{
	width: 13px;
	height: 13px;
}
QCheckBox::indicator:unchecked{
	image: url(:/style/img/picHeaderSortUp.png);
}
CheckBox::indicator:unchecked:hover{
	image: url(:/images/checkbox_unchecked_hover.png);
} 
QCheckBox::indicator:unchecked:pressed {
	image: url(:/style/img/picScrollUp.png);
}
QCheckBox::indicator:checked{
	image: url(:/style/img/picHeaderSortDn.png);
}
QCheckBox::indicator:checked:hover {
	image: url(:/images/checkbox_checked_hover.png);
} 
QCheckBox::indicator:checked:pressed {
	image: url(:/style/img/picScrollDn.png);
}
*/

#btClose{   background-image: url(:/mainWnd/img/btClose.PNG); }
#btClose:hover{  background-image: url(:/mainWnd/img/btClose-hover.png); }
#btClose:pressed{  background-image: url(:/mainWnd/img/btClose-pressed.png); }

#btMinimize{	border-image: url(:/mainWnd/img/btMinimize.png); }
#btMinimize:hover{	border-image: url(:/mainWnd/img/btMinimize-hover.png); }
#btMinimize:pressed{	border-image: url(:/mainWnd/img/btMinimize-pressed.png); }

#btConnect{  border-image: url(:/mainWnd/img/btConnect.png);}
#btConnect:hover,#btConnect:focus{ border-image: url(:/mainWnd/img/btConnect-hover.png); }
#btConnect:pressed{   border-image: url(:/mainWnd/img/btConnect-pressed.png); }

#btSMS{   border-image: url(:/mainWnd/img/btSMS.png);}
#btSMS:hover,#btSMS:focus{   border-image: url(:/mainWnd/img/btSMS-hover.png); }
#btSMS:pressed{   border-image: url(:/mainWnd/img/btSMS-pressed.png); }

#btSMS2{   border-image: url(:/mainWnd/img/btNew.png);}
#btSMS2:hover,#btSMS2:focus{   border-image: url(:/mainWnd/img/btNew-hover.png); }
#btSMS2:pressed{   border-image: url(:/mainWnd/img/btNew-pressed.png); }


#btCheckBalance{   border-image: url(:/mainWnd/img/btCheckBalance.PNG);}
#btCheckBalance:hover,#btCheckBalance:focus{   border-image: url(:/mainWnd/img/btCheckBalance-hover.png); }
#btCheckBalance:pressed{   border-image: url(:/mainWnd/img/btCheckBalance-pressed.png); }

#btCalls{   border-image: url(:/mainWnd/img/btCalls.png);}
#btCalls:hover,#btCalls:focus{   border-image: url(:/mainWnd/img/btCalls-hover.png); }
#btCalls:pressed{   border-image: url(:/mainWnd/img/btCalls-pressed.png); }


#btSettings{ border-image:url(:/mainWnd/img/btSettings.png) }
#btSettings:hover,#btSettings:focus{ border-image:url(:/mainWnd/img/btSettings-hover.png) }
#btSettings:pressed{ border-image:url(:/mainWnd/img/btSettings-pressed.png) }

#btMainCheckBalance,#btMainCheckBalance_Connected {  border-image: url(:/mainWnd/img/btMainCheckBalance.png); }
#btMainCheckBalance:hover, #btMainCheckBalance_Connected:hover,
#btMainCheckBalance:focus, #btMainCheckBalance_Connected:focus {
	border-image: url(:/mainWnd/img/btMainCheckBalance-hover.png); 
}
#btMainCheckBalance:pressed,#btMainCheckBalance_Connected:pressed {  border-image: url(:/mainWnd/img/btMainCheckBalance-pressed.png); }


#btMainActivatePayCard{ border-image: url(:/mainWnd/img/btMainActivatePayCard.png) }
#btMainActivatePayCard:hover,#btMainActivatePayCard:focus{ border-image: url(:/mainWnd/img/btMainActivatePayCard-hover.png) }
#btMainActivatePayCard:pressed{ border-image: url(:/mainWnd/img/btMainActivatePayCard-pressed.png) }

#bt100Mb{   border-image: url(:/mainWnd/img/bt100Mb.png);}
#bt100Mb:hover,#bt100Mb:focus{   border-image: url(:/mainWnd/img/bt100Mb-hover.png); }
#bt100Mb:pressed{   border-image: url(:/mainWnd/img/bt100Mb-pressed.png); }

#bt1Gb{   border-image: url(:/mainWnd/img/bt1Gb.png);}
#bt1Gb:hover,#bt1Gb:focus{   border-image: url(:/mainWnd/img/bt1Gb-hover.png); }
#bt1Gb:pressed{   border-image: url(:/mainWnd/img/bt1Gb-pressed.png); }

#bt250Mb{   border-image: url(:/mainWnd/img/bt250Mb.png);}
#bt250Mb:hover,#bt250Mb:focus{   border-image: url(:/mainWnd/img/bt250Mb-hover.png); }
#bt250Mb:pressed{   border-image: url(:/mainWnd/img/bt250Mb-pressed.png); }

#bt500Mb{   border-image: url(:/mainWnd/img/bt500Mb.png);}
#bt500Mb:hover,#bt500Mb:focus{   border-image: url(:/mainWnd/img/bt500Mb-hover.png); }
#bt500Mb:pressed{   border-image: url(:/mainWnd/img/bt500Mb-pressed.png); }

#btMainActivateApp,#btMainActivateApp_Connected{   border-image: url(:/mainWnd/img/btMainActivateApps.png); }
#btMainActivateApp:hover,#btMainActivateApp_Connected:hover,
	#btMainActivateApp:focus,#btMainActivateApp_Connected:focus {
	border-image: url(:/mainWnd/img/btMainActivateApps-hover.png); 
}

#btMainActivateApp:pressed, #btMainActivateApp_Connected:pressed{   border-image: url(:/mainWnd/img/btMainActivateApps-pressed.png); }

#btMainCheckUpdates{   border-image: url(:/mainWnd/img/btMainCheckUpdates.png); }
#btMainCheckUpdates:hover,#btMainCheckUpdates:focus{   border-image: url(:/mainWnd/img/btMainCheckUpdates-hover.png); }
#btMainCheckUpdates:pressed{   border-image: url(:/mainWnd/img/btMainCheckUpdates-pressed.png);}


#btConnection{ border-image: url(:/mainWnd/img/btConnection.png) }
#btConnection:hover,#btConnection:focus{ border-image: url(:/mainWnd/img/btConnection-hover.png) }
#btConnection:pressed{ border-image: url(:/mainWnd/img/btConnection-pressed.png) }

#btConnection[connected="true"]{ border-image: url(:/mainWnd/img/btDisconnection.png) }
#btConnection[connected="true"]:hover,#btConnection[connected="true"]:focus{ border-image: url(:/mainWnd/img/btDisconnection-hover.png) }
#btConnection[connected="true"]:pressed{ border-image: url(:/mainWnd/img/btDisconnection-pressed.png) }

#btNew{ border-image: url(:/mainWnd/img/btNew.png) }
#btNew:hover,#btNew:focus{ border-image: url(:/mainWnd/img/btNew-hover.png) }
#btNew:pressed{ border-image: url(:/mainWnd/img/btNew-pressed.png) }

#btOK{ border-image: url(:/mainWnd/img/btOk.png) }
#btOK:hover,#btOk:focus{ border-image: url(:/mainWnd/img/btOk-hover.png) }
#btOK:pressed{ border-image: url(:/mainWnd/img/btOk-pressed.png) }

#btCancel{ border-image: url(:/mainWnd/img/btCancel.png) }
#btCancel:hover,#btCancel:focus{ border-image: url(:/mainWnd/img/btCancel-hover.png) }
#btCancel:pressed{ border-image: url(:/mainWnd/img/btCancel-pressed.png) }

#btOutbound{ border-image: url(:/mainWnd/img/btOutbound.png) }
#btOutbound:hover,#btOutbound:focus{ border-image: url(:/mainWnd/img/btOutbound-hover.png) }
#btOutbound:pressed{ border-image: url(:/mainWnd/img/btOutbound-pressed.png) }

#btInbound{ border-image: url(:/mainWnd/img/btInbound.png) }
#btInbound:hover,#btInbound:focus{ border-image: url(:/mainWnd/img/btInbound-hover.png) }
#btInbound:pressed{ border-image: url(:/mainWnd/img/btInbound-pressed.png) }

#btRemove{ border-image: url(:/mainWnd/img/btRemove.png) }
#btRemove:hover,#btRemove:focus{ border-image: url(:/mainWnd/img/btRemove-hover.png) }
#btRemove:pressed{ border-image: url(:/mainWnd/img/btRemove-pressed.png) }

#btCheckNow{ border-image: url(:/mainWnd/img/btCheckNow.png) }
#btCheckNow:hover,#btCheckNow:focus{ border-image: url(:/mainWnd/img/btCheckNow-hover.png) }
#btCheckNow:pressed{ border-image: url(:/mainWnd/img/btCheckNow-pressed.png) }


#stwSettings2 {
	border: 3px transparent;
	border-image: url(:/mainWnd/img/settingsBorder2.PNG) 3 3 3 3; 
}

#frameEnterPIN[type="PIN"]{	background-image: url(:/mainWnd/img/wndEnterPIN.png) }
#frameEnterPIN[type="PUK"]{	background-image: url(:/mainWnd/img/wndEnterPUK.PNG) }

#frameConnected {
	background-image: url(:/mainWnd/img/disconnected.png)
}
#frameConnected[connected="true"] { 
	background-image: url(:/mainWnd/img/statistics.png)
}

#frame1{ background-image: url(:/mainWnd/img/ussd_activation_results.png)}

#frameActivation{background-image: url(:/mainWnd/img/wndActivationResults.png)}
#balanceState{ background-image: url(:/mainWnd/img/balanceState.png)}


